#ifndef MWIN_H
#define MWIN_H

#include <QMainWindow>
#include <QList>
#include "def.h"
#include "method.h"

namespace Ui {
    class Mwin;
}

class Mwin : public QMainWindow {
    Q_OBJECT
public:
    Mwin(QList<Method*> * lmd,QWidget *parent = 0);
    ~Mwin();

protected:
    void changeEvent(QEvent *e);


private:
    Ui::Mwin *ui;
    QList<Method*> * wlmd; // list of avarable methods
private slots:
    void slot_onlibmethod();
    void slot_onActElements(bool);
    void slot_onActElementsdw(bool);
    void slot_onActPre(bool);
    void slot_onActPredw(bool);
};

#endif // MWIN_H
